package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description NusingProjectMapper
 * @Author LiShunSen
 * @Date 2024-08-24
 */
@Mapper
public interface NursingProjectMapper {

    Page<NursingProjectVo> getByPage(@Param("name") String name, @Param("status") Integer status);

    void inviteProject(NursingProject nursingProject);

    NursingProject getById(@Param("id") Long id);

    void updateProject(NursingProject nursingProject);

    //启用禁用
    void statusProjectById(@Param("id") Long id, @Param("status") Integer status);

    void deletProJect(Long id);

    List<NursingProjectVo> findAll();


}
